package org.jeecg.market.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 优惠券使用记录
 * </p>
 *
 * @author Ash
 * @since 2024-05-15
 */
@Getter
@Setter
@TableName("t_coupon_use_record")
@ApiModel(value = "CouponUseRecord对象", description = "优惠券使用记录")
public class CouponUseRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("优惠券id")
    private String couponId;

    @ApiModelProperty("用户优惠券id")
    private String couponCustomerId;

    @ApiModelProperty("兑换码")
    private String redeemCode;

    @ApiModelProperty("订单号或 运单号")
    private String orderNo;

    @ApiModelProperty("订单类型 1 运单 2 订单")
    private Integer orderType;

    @ApiModelProperty("支付单号")
    private String payNo;

    @ApiModelProperty("创建日期")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("更新人")
    private String updateBy;


}
